projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013961a
)
(read_minibuf): Pass PROPS arg to make_buffer_string.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 17:12:20 +0000
(17:12 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 17:12:20 +0000
(17:12 +0000)
Let make_buffer_string handle the gap.
src/minibuf.c
patch
|
blob
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index 7980e58c6a123e017449bab75fb9bd1478286c07..c2a11a1d62a35cec7d955d5142d6f82b84465088 100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-298,8
+298,10
@@
read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
}
/* Make minibuffer contents into a string */
- val = make_buffer_string (1, Z);
+ val = make_buffer_string (1, Z, 1);
+#if 0 /* make_buffer_string should handle the gap. */
bcopy (GAP_END_ADDR, XSTRING (val)->data + GPT - BEG, Z - GPT);
+#endif
/* VAL is the string of minibuffer text. */
last_minibuf_string = val;